:root {
	--totalWid: 100%;
	--themeColor: #0d60d0;
}

html,
body {
	width: var(--totalWid);
}
/* 头部导航栏 */
header {
	z-index: 40;
	top: 0;
	left: 0;
	padding: 0 20px;
	min-width: 1200px;
	height: 66px;
	/* background-color: var(--themeColor); */
	background-color: #fff;
	border-bottom: 1px solid #ddd;
}
header a {
	display: block;
	width: 138px;
	height: 66px;
	color: #666666;
}

header a h1 {
	height: 66px;
	background: url(../imgs/api-new-logo-white.png) no-repeat;
}
header ul {
	height: 66px;
}
header ul li {
	height: 64px;
	line-height: 66px;
	/* margin: 10px; */
}
header ul li a {
	margin-right: 5px;
	width: 70px;
	height: 66px;
}
header ul .active a {
	position: relative;
	color: #12c0ff;
}
header ul .active a::after {
	position: absolute;
	content: "";
	display: block;
	background-color: #12c0ff;
	width: 27px;
	height: 3px;
	bottom: -1px;
	left: 0;
}
header div button {
	padding: 4px 8px;
	border-radius: 15px;
	font-size: 12px;
	border-style: none;
	color: #fff;
}
header div button:first-child {
	border: 1px solid #d1d1d1;
	background-color: #ffffff;
	color: #000;
}

header div button:last-child {
	background-color: #ed510a;
}
/* 中间主体 */
main {
	width: 100%;
	height: 1500px;
	background-color: #fff;
}
/* 上面api分类和搜索框 */
main .container h2 {
	font-size: 25px;
	margin-bottom: 20px;
}
main .container ul {
	display: flex;
	flex-wrap: wrap;
}
main .container ul li {
	margin-right: 10px;
	margin-bottom: 10px;
	padding: 8px 16px;
	color: #666;
	border: 1px solid #ececec;
	border-radius: 20px;
	cursor: pointer;
}
main .container ul .active {
	color: var(--themeColor);
	border: 1px solid var(--themeColor);
}
main section div:last-child {
	margin-top: 50px;
}
main section div:last-child strong {
	margin-right: 15px;
}
main section div:last-child input {
	border: 1px solid #f4f4f4;
	border-radius: 20px;
	background-color: #f4f4f4;
	color: #666666;
	height: 35px;
	padding-left: 12px;
}
/* 卡片区 */
#apicardsList {
	display: flex;
	width: 1230px;
}
#apicardsList li {
	width: 180px;
	height: 250px;
	border: 1px solid #eeeeee;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	margin-right: 15px;
	/* 超出隐藏 */
	overflow: hidden;
}
#apicardsList li img {
	margin-top: -70px;
	margin-bottom: 15px;
}
#apicardsList li p:nth-child(2) {
	font-size: 14px;
	margin-bottom: 15px;
}

#apicardsList li span {
	padding: 5px 5px;
	color: #49d2ff;
	top: 5px;
	left: 5px;
	background-color: #e5f8ff;
}
#apicardsList li a {
	left: 15px;
	bottom: -40px;
	color: #fff;
	padding: 10px 60px;
	background-color: #00bdff;
	transition: bottom 0.5s ease-out;
}
#apicardsList li:hover {
	box-shadow: 6px 6px 18px #666;
}
#apicardsList li:hover a {
	bottom: 15px;
}
/* 下方分页器 */
#page {
	width: 420px;
	height: 50px;
	padding-left: 135px;
}

#page ul li {
	width: 13px;
	height: 25px;
	border-radius: 50%;
	font-size: 16px;
	line-height: 25px;
	text-align: center;
}
#page ul li:hover {
	cursor: pointer;
}
#page ul .active {
	background-color: #00bdff;
	color: #fff;
}
#page .haha {
	display: flex;
}

/* 蒙层 */
#mask {
	z-index: 70;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.3);
	display: none;
}
/* 默认隐藏所有form表单 */
#login form {
	display: none;
}
/* 账号登录 */
#mask #login {
	box-sizing: border-box;
	z-index: 90;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 405px;
	height: 410px;
	background-color: #fff;
}
#mask #login #logo {
	background: url(../imgs/loginlogo.png) no-repeat;
	width: 178px;
	height: 48px;
	margin-left: 25%;
	margin-bottom: 35px;
	margin-top: 15px;
}
#mask #login #tab {
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
}
#mask #login #tab i {
	width: 2px;
	height: 15px;
	background-color: #d1d1d1;
	margin: 2px 20px;
}
#mask #login #tab a {
	color: #000;
}
#mask #login #tab .active {
	color: #00bdff;
}
#mask #login #tab .active::after {
	content: "";
	display: block;
	margin: auto;
	margin-top: 10px;
	width: 40px;
	height: 2px;
	background-color: #03c5ff;
}
#mask #sous {
	height: 190px;
	margin-left: 20px;
	margin-top: -18px;
}
#mask #sous input {
	width: 360px;
	height: 35px;
	border: 0;
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 10px;
	text-indent: 25px;
}
#mask #sous .forget {
	text-align: right;
	margin-right: 20px;
	margin-bottom: 15px;
}
#mask #sous .forget a {
	color: #03c5ff;
}
#mask #sous button {
	width: 365px;
	height: 35px;
	background-color: #03c5ff;
	color: #fff;
	border-style: none;
}
#mask #sous .zhuce {
	text-align: center;
	margin-top: 40px;
	color: #a9adb2;
	font-size: 13px;
}
#mask #sous .zhuce a {
	color: #00bdff;
}
#mask #sous .text {
	bottom: 0;
	left: 0;
	/* position: relative; */
	top: 4px;
	display: inline-block;
	width: 24px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 24px -1px;
}
#mask #sous .pass {
	bottom: 0;
	left: 0;
	/* position: relative; */
	top: 4px;
	display: inline-block;
	width: 24px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 55px -1px;
}
/* 扫码登录 */
#mask #QRform {
	box-sizing: border-box;
	z-index: 90;
	position: fixed;
	left: 50%;
	top: 52%;
	transform: translate(-50%, -50%);
	width: 405px;
	height: 175px;
	background-color: #fff;
}
#mask #QRform .zx {
	margin-left: 15px;
	margin-top: 12px;
	width: 368px;
	height: 190px;
	border: 2px solid #eeeeee;
	background-color: #fcfcfc;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-size: 12px;
	font-weight: bold;
}

#mask #QRform .zx img {
	width: 106px;
	height: 100px;

	margin-top: 20px;
}
#mask #QRform .zx p {
	margin-bottom: 10px;
}
#mask #QRform .zhuce {
	text-align: center;
	margin-top: 30px;
	color: #a9adb2;
	font-size: 13px;
}
#mask #QRform .zhuce a {
	color: #00bdff;
}
/* 尾部 */
footer {
	width: 100%;
	height: 285px;
	position: relative;
}
footer ul {
	box-sizing: border-box;
	display: flex;
	margin-top: 40px;
}
footer ul li {
	margin-right: 80px;
}
footer ul li h3 {
	font-weight: bold;
	margin-bottom: 28px;
}
footer ul li a {
	color: #d9dce3;
	display: inline-block;
	margin-bottom: 10px;
}
/* 尾部右侧内容 */
footer .right {
	width: 78px;
	height: 110px;
	position: absolute;
	top: 10px;
	right: 72px;
}
footer .right h2 {
	font-size: 14px;
	margin-bottom: 7px;
}
footer .right p {
	font-size: 13px;
	margin-bottom: 30px;
	margin-left: 23px;
	color: #eae3e3;
}
footer .right img {
	margin-left: -36px;
}
/* 底部内容 */
footer .di {
	margin-top: 40px;
	color: #d1d1d1;
	position: relative;
}
footer .di img {
	margin-right: 5px;
}
footer .di .qq {
	font-size: 14px;
}
footer .di .wx {
	font-size: 14px;
	margin-left: 370px;
}
footer .di span img {
	margin-left: 25px;
	position: absolute;
	top: -10px;
}
